package com.flower.domain.vo.admin.analysis;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 热销商品排行VO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TopProductsVO {
    private List<ProductSalesVO> products;
    
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class ProductSalesVO {
        /**
         * 商品ID
         */
        private Integer productId;

        /**
         * 店铺ID
         */
        private Integer shopId;
        
        /**
         * 商品名称
         */
        private String productName;

        /**
         * 店铺名称
         */
        private String shopName;
        /**
         * 商品图片
         */
        private String image;
        
        /**
         * 销售数量
         */
        private Integer quantity;
        
        /**
         * 销售金额（分）
         */
        private Integer amount;
    }
} 